
import org.boehn.kmlframework.kml.Document;
import org.boehn.kmlframework.kml.Kml;
import org.boehn.kmlframework.kml.KmlException;
import org.boehn.kmlframework.kml.Placemark;


public class Entity implements Runnable{
protected String Alias = "Unknown User";
private int EntityID = 0;
private String Image = "Default"; // Need to update with actual image code
protected float longitude = (float) -75.166397;
protected float latitude = (float) 39.954096;
private int altitude = 0;
public Placemark mark = new Placemark(Alias);


public void go(){
mark.setLocation(longitude, latitude);
mark.setName(Alias);
try{
	Thread.sleep(1000);
}catch(InterruptedException ex){
	ex.printStackTrace();
}
}
public void run(){
	go();
}

public void SetAlias(String name){
	Alias = name;
}
public void SetEntityID(int ID){
	EntityID = ID;
}
public void SetImage(String Pic){
	Image = Pic;	
}
public void Setlongitude (float longi){
	longitude = longi;
}
public void Setlatitude (float lat){
	latitude = lat;
}
public void Setaltitude (int alt){
	altitude = alt;
}
public String GetAlias(){
	return Alias;
}
public int GetEntityID(){
	return EntityID;
}
public String Getimage(){
	return Image;
}
public float Getlongitude(){
	return longitude;
}
public float Getlatitutde(){
	return latitude;
}
public int Getaltitude(){
	return altitude;
}
}



